package com.etoak.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.etoak.entity.Department;
import com.etoak.mapper.DepartmentMapper;
import com.etoak.service.DepartmentService;
import org.springframework.stereotype.Service;

import java.util.Collection;
import java.util.List;

@Service
public class DepartmentServiceImpl  extends ServiceImpl<DepartmentMapper, Department> implements DepartmentService {
    @Override
    public List<Department> list(){
        return lambdaQuery().list();
    }

}
